﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapTo(typeof(SmartTriggerConditionUpdateBo))]
    public class SmartTriggerConditionUpdateDto
    {
        public Guid Id { get; set; }
        public Guid SmartTriggerId { get; set; }
        [Required]
        [MaxLength(SmartTriggerConditionStringLength.MaxLength_Variable)]
        public string Variable { get; set; }
        [Required]
        [MaxLength(SmartTriggerConditionStringLength.MaxLength_Expression)]
        public string Expression { get; set; }
        [Required]
        [MaxLength(SmartTriggerConditionStringLength.MaxLength_Value)]
        public string Value { get; set; }
        [Required]
        public int Order { get; set; }
    }
}